/**
 * sysUserDaoHibernate
 *
 * 项目名称:分秒金融
 *
 * @author lunli
 *
 * 功能描述:系统用户管理
 * 
 * 历史版本:2017-03-28 v1.0.0 lunli  创建:
 * 
 */
 package com.fmjr.sys.sysUser.dao;

import com.fmjr.common.base.util.Pager;
import com.fmjr.sys.sysUser.bean.SysUser;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


@Mapper
public interface SysUserDao{
	
	
	public Integer createSysUser(SysUser sysUser);

	public Integer deleteSysUserById(Long id);
	
	public Integer updateSysUser(SysUser sysUser);

	public List<SysUser> selectSysUserAll();

	public SysUser selectSysUserByT(SysUser sysUser);
	
	public SysUser selectSysUserById(Long id);
	
	public List<SysUser> selectSysUserList(Pager<SysUser> pager);	
	public Integer selectSysUserCount(Pager<SysUser> pager);
	
	public void insertSysUserBatch(List<SysUser> list);
	public SysUser findByUsername(String username);
	
	
	
}
